
#include "Input.h"

void Input(int& entry)
{
	char choice;
	do
	{
		std::cout << "Enter your choice: "; std::cin >> choice;

		// While choice is not valid.
	} while (choice < MIN  && choice > MAX );
	// Stores the user's choice in the Entry variable, which is modified by reference
	// so that it is reused outside of this function without a return
	entry = choice - '0';

}